import request from '@/utils/request'

// 查询检验检查报告检索列表
export function listDocumentRetrieveal(query) {
  return request({
    url: '/workstation/documentRetrieveal/list',
    method: 'get',
    params: query
  })
}

// 查询检验检查报告检索详细
export function getDocumentRetrieveal(id) {
  return request({
    url: '/workstation/documentRetrieveal/' + id,
    method: 'get'
  })
}

// 新增检验检查报告检索
export function addDocumentRetrieveal(data) {
  return request({
    url: '/workstation/documentRetrieveal',
    method: 'post',
    data: data
  })
}

// 修改检验检查报告检索
export function updateDocumentRetrieveal(data) {
  return request({
    url: '/workstation/documentRetrieveal',
    method: 'put',
    data: data
  })
}

// 删除检验检查报告检索
export function delDocumentRetrieveal(id) {
  return request({
    url: '/workstation/documentRetrieveal/' + id,
    method: 'delete'
  })
}

// 查询检验检查报告检索详细
export function lookreport(id) {
  return request({
    url: '/workstation/documentSearch/report/' + id,
    method: 'get'
  })
}
